package com.lly.bigdata.bgayx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lly.bigdata.bgayx.entity.SysMenu;
import com.lly.bigdata.bgayx.vo.SearchModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 菜单管理 Mapper 接口
 * </p>
 *
 * @author lly
 * @since 2020-10-21
 */
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    List<SysMenu> getUserMenuPermSet(String username);

    List<SysMenu> querySearch(@Param("ew") SearchModel searchModel);

    List<SysMenu> userTreeMenu(@Param("ew") SearchModel searchModel);
}
